package org.adorsys.aderp.orga.xchange;

import java.util.Date;

import javax.annotation.Resource;

import org.adorsys.aderp.jpa.api.xchange.AbstractXchangeAuditRecordService;
import org.adorsys.aderp.orga.domain.OrgaPersonAuditRecord;
import org.adorsys.aderp.orga.repository.OrgaPersonAuditRecordRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

@Service
public class OrgaPersonXchangeAuditRecordService extends AbstractXchangeAuditRecordService<OrgaPersonAuditRecord>{
	
	@Resource
	private OrgaPersonAuditRecordRepository orgaPersonAuditRecordRepository;

	@Override
	public Page<OrgaPersonAuditRecord> findByModifOnGreaterThan(Date modifOn, Pageable pageable){
		Page<OrgaPersonAuditRecord> found2 = orgaPersonAuditRecordRepository.findByModifOnGreaterThan(modifOn, pageable);
		return found2;
	}

}
